package com.example.manage_dzensaas.pojo.bo.card;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.noear.solon.validation.annotation.NotBlank;
import org.noear.solon.validation.annotation.NotNull;

import java.io.Serializable;

/**
 * @author wangzhiqi
 * @version 1.0
 * @description: 卡卷查询类
 * @date 2025/2/13 16:02
 */
@ApiModel(value = "卡卷查询类")
@Data
public class QueryCardBo implements Serializable {

    @ApiModelProperty(value = "卡卷兑换码")
    @NotBlank(message = "兑换码必填")
    private String exchangeCode;

    @ApiModelProperty(value = "站点ID")
    @NotNull(message = "站点ID必填")
    private Long siteId;

    @ApiModelProperty(value = "用户ID")
    @NotNull(message = "用户ID必填")
    private Long consumerId;

    @TableField(exist = false)
    private static final long serialVersionUID = 6167257200415948570L;
}
